package com.zhan.ielts.domain.speakingmodify;

import com.zhan.frame.core.dao.domain.Identifiable;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

public class SpeakingModifyQuestion implements Identifiable {
    private String id;
    private Integer audioNo;
    private String source;

    public Integer getAudioNo() {
        return audioNo;
    }

    public void setAudioNo(Integer audioNo) {
        this.audioNo = audioNo;
    }

    public String getSource() {
        return source;
    }

    public void setSource(String source) {
        this.source = source;
    }

    private Integer audioTime;

    public Integer getAudioTime() {
        return audioTime;
    }

    public void setAudioTime(Integer audioTime) {
        this.audioTime = audioTime;
    }

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date publishTime;

    private Date createTime;

    private Date updateTime;

    private String content;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public Date getPublishTime() {
        return publishTime;
    }

    public void setPublishTime(Date publishTime) {
        this.publishTime = publishTime;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content == null ? null : content.trim();
    }
}